using System;
using Iesi.Collections.Generic;

namespace BHXH.Core.Domain
{

    public class thanhpho
    {
        private int _ID;
        private string _Ten;
        private ISet<thongtincongty> _thongtincongty;
        private ISet<quanhuyen> _quanhuyen;

        public virtual int ID
        {
            get { return _ID; }
            set { _ID = value; }
        }

        public virtual string Ten
        {
            get { return _Ten; }
            set { _Ten = value; }
        }
        public virtual ISet<thongtincongty> thongtincongty
        {
            get { return _thongtincongty; }
            set { _thongtincongty = value; }
        }

        public thanhpho()
        {
            thongtincongty = new HashedSet<thongtincongty>();
            quanhuyen = new HashedSet<quanhuyen>();
        }

        public virtual ISet<quanhuyen> quanhuyen
        {
            get { return _quanhuyen; }
            set { _quanhuyen = value; }
        }

    }
}
